/*
 * ==================================================
 * 项目开发者：JerryStark
 * 开发者Email：4771007@qq.com
 * 开发者QQ:4771007
 * 开发范围：web，wap，android,ios,osx or win or linux 应用
 * ==================================================
 */
package RTPower;
 

/**
 * 本子类主要用于mysql的配置
 *
 * @author jerry
 */
public class RTMysql extends publicsql {

    @Override
    public void FormatSqlInfo() {

        host = SqlInfo.mysql_host;
        port = SqlInfo.mysql_port;
        dataname = SqlInfo.mysql_dataname;
        user = SqlInfo.mysql_user;
        password = SqlInfo.mysql_password;
  
        classname = "com.mysql.jdbc.Driver";
        url = "jdbc:mysql://" + host + ":"
                + port + "/"
                + dataname
                + "?useUnicode=true&characterEncoding=UTF-8";

    }
}
